package com.jishulianmeng.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Literature entity. @author monologu
 */

public class Literature implements java.io.Serializable {

	// Fields

	private long literatureId;
	private SmallScopes smallScopes;
	private Module module;
	private User user;
	private String literatureTitles;
	private String literatureContents;
	private Integer literatureScanCount;
	private Integer literatureAgreeCount;
	private Integer literatureUnagreeCount;
	private Date literatureCreateDate;
	private short literatureStatus;
	private String literatureRemark;
	private short literatureDeleted;
	private Set replies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Literature() {
	}

	/** minimal constructor */
	public Literature(SmallScopes smallScopes, Module module, User user,
			String literatureTitles, String literatureContents) {
		this.smallScopes = smallScopes;
		this.module = module;
		this.user = user;
		this.literatureTitles = literatureTitles;
		this.literatureContents = literatureContents;
	}

	/** full constructor */
	public Literature(SmallScopes smallScopes, Module module, User user,
			String literatureTitles, String literatureContents,
			Integer literatureScanCount, Integer literatureAgreeCount,
			Integer literatureUnagreeCount, Date literatureCreateDate,
			short literatureStatus, String literatureRemark,
			short literatureDeleted, Set replies) {
		this.smallScopes = smallScopes;
		this.module = module;
		this.user = user;
		this.literatureTitles = literatureTitles;
		this.literatureContents = literatureContents;
		this.literatureScanCount = literatureScanCount;
		this.literatureAgreeCount = literatureAgreeCount;
		this.literatureUnagreeCount = literatureUnagreeCount;
		this.literatureCreateDate = literatureCreateDate;
		this.literatureStatus = literatureStatus;
		this.literatureRemark = literatureRemark;
		this.literatureDeleted = literatureDeleted;
		this.replies = replies;
	}

	// Property accessors

	public long getLiteratureId() {
		return this.literatureId;
	}

	public void setLiteratureId(long literatureId) {
		this.literatureId = literatureId;
	}

	public SmallScopes getSmallScopes() {
		return this.smallScopes;
	}

	public void setSmallScopes(SmallScopes smallScopes) {
		this.smallScopes = smallScopes;
	}

	public Module getModule() {
		return this.module;
	}

	public void setModule(Module module) {
		this.module = module;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLiteratureTitles() {
		return this.literatureTitles;
	}

	public void setLiteratureTitles(String literatureTitles) {
		this.literatureTitles = literatureTitles;
	}

	public String getLiteratureContents() {
		return this.literatureContents;
	}

	public void setLiteratureContents(String literatureContents) {
		this.literatureContents = literatureContents;
	}

	public Integer getLiteratureScanCount() {
		return this.literatureScanCount;
	}

	public void setLiteratureScanCount(Integer literatureScanCount) {
		this.literatureScanCount = literatureScanCount;
	}

	public Integer getLiteratureAgreeCount() {
		return this.literatureAgreeCount;
	}

	public void setLiteratureAgreeCount(Integer literatureAgreeCount) {
		this.literatureAgreeCount = literatureAgreeCount;
	}

	public Integer getLiteratureUnagreeCount() {
		return this.literatureUnagreeCount;
	}

	public void setLiteratureUnagreeCount(Integer literatureUnagreeCount) {
		this.literatureUnagreeCount = literatureUnagreeCount;
	}

	public Date getLiteratureCreateDate() {
		return this.literatureCreateDate;
	}

	public void setLiteratureCreateDate(Date literatureCreateDate) {
		this.literatureCreateDate = literatureCreateDate;
	}

	public short getLiteratureStatus() {
		return this.literatureStatus;
	}

	public void setLiteratureStatus(short literatureStatus) {
		this.literatureStatus = literatureStatus;
	}

	public String getLiteratureRemark() {
		return this.literatureRemark;
	}

	public void setLiteratureRemark(String literatureRemark) {
		this.literatureRemark = literatureRemark;
	}

	public short getLiteratureDeleted() {
		return this.literatureDeleted;
	}

	public void setLiteratureDeleted(short literatureDeleted) {
		this.literatureDeleted = literatureDeleted;
	}

	public Set getReplies() {
		return this.replies;
	}

	public void setReplies(Set replies) {
		this.replies = replies;
	}

}